package com.ruoyi.aitcommon.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中间库配置对象 ait_zjk_config
 * 
 * @author ruoyi
 * @date 2022-12-12
 */
public class AitZjkConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** sql配置 */
    @Excel(name = "sql配置")
    private String sqlConf;

    /** 数据库配置 */
    @Excel(name = "数据库配置")
    private String dbConf;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 是否生效 */
    @Excel(name = "是否生效")
    private Long isEnable;

    /** 启用流程 */
    @Excel(name = "启用流程")
    private Long enableFlow;

    /** 流程类型 */
    @Excel(name = "流程类型")
    private String flowType;

    /** 编码字段 */
    @Excel(name = "编码字段")
    private String codeField;

    /** 启用更新 */
    @Excel(name = "启用更新")
    private Long enableUpdate;

    /** 更新表名 */
    @Excel(name = "更新表名")
    private String updateTable;

    /** 更新主键 */
    @Excel(name = "更新主键")
    private String updateKey;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSqlConf(String sqlConf) 
    {
        this.sqlConf = sqlConf;
    }

    public String getSqlConf() 
    {
        return sqlConf;
    }
    public void setDbConf(String dbConf) 
    {
        this.dbConf = dbConf;
    }

    public String getDbConf() 
    {
        return dbConf;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setIsEnable(Long isEnable) 
    {
        this.isEnable = isEnable;
    }

    public Long getIsEnable() 
    {
        return isEnable;
    }
    public void setEnableFlow(Long enableFlow) 
    {
        this.enableFlow = enableFlow;
    }

    public Long getEnableFlow() 
    {
        return enableFlow;
    }
    public void setFlowType(String flowType) 
    {
        this.flowType = flowType;
    }

    public String getFlowType() 
    {
        return flowType;
    }
    public void setCodeField(String codeField) 
    {
        this.codeField = codeField;
    }

    public String getCodeField() 
    {
        return codeField;
    }
    public void setEnableUpdate(Long enableUpdate) 
    {
        this.enableUpdate = enableUpdate;
    }

    public Long getEnableUpdate() 
    {
        return enableUpdate;
    }
    public void setUpdateTable(String updateTable) 
    {
        this.updateTable = updateTable;
    }

    public String getUpdateTable() 
    {
        return updateTable;
    }
    public void setUpdateKey(String updateKey) 
    {
        this.updateKey = updateKey;
    }

    public String getUpdateKey() 
    {
        return updateKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("sqlConf", getSqlConf())
            .append("dbConf", getDbConf())
            .append("memo", getMemo())
            .append("isEnable", getIsEnable())
            .append("enableFlow", getEnableFlow())
            .append("flowType", getFlowType())
            .append("codeField", getCodeField())
            .append("enableUpdate", getEnableUpdate())
            .append("updateTable", getUpdateTable())
            .append("updateKey", getUpdateKey())
            .toString();
    }
}